﻿@{

    Layout = "/views/Shared/_LayoutPageLogin.cshtml";
    ViewBag.Title = "Login";
}
<link href="@Url.Content("/Content/css/login.css")" rel="stylesheet" type="text/css" />
@*<h2>Login</h2>
<div><label for="uid">用户名：</label><input id="uid" type="text" /></div>
<div><label for="pwd">密码：</label><input id="pwd" type="password" /></div>
<div><input id="login" type="button" value="登录" onclick="login()"/></div>*@

    <div class="login">
        <div class="login-screen">
            <div class="login-icon">
                <img src="/Content/img/logo.png" alt="欢迎登陆"/>
               
                <h4>欢迎登陆<small >数据系统</small></h4>
            </div>
            <div class="login-form">
                <div class="mb20 rel">
                    <input id="uid" class="login-field btn-block" placeholder="用户名" type="text">
                    <label class="login-field-icon iconman" for="uid"></label>
                </div>

                <div class="mb20 rel">
                    <input class="login-field btn-block" value="" placeholder="密码" id="pwd" type="password">
                    <label class="login-field-icon iconlock" for="pwd"></label>
                </div>
                <input type="button" value="登陆"class="magbtn btn-block tc vm"  id="login" onclick="login()" >
                <div class="mt20 ml20 colQ">
                <span class="check_icon ico" id="dress_pw"></span>
                    <input type="checkbox" id="forget_pw" onchange="change_status()" class="ocp" /><label for="forget_pw">记住密码</label></div>
            </div>
        </div>
    </div>

<script src="/Scripts/core/login.js"></script>
<script>
    function change_status() {
        var check_pw = document.getElementById("forget_pw");
        var status = check_pw.checked
            if (status == true) {
                document.getElementById('dress_pw').className = "checked_icon ico"
            } else {
                document.getElementById('dress_pw').className = "check_icon ico"
            }
        

    }
</script>